package com.googlecode.smartbinding.framework.validator;

/**
 * @author Iulian Dumitru
 */
public interface IValidator<T> {

    /**
     * Validate this object.
     *
     * @param target object to validate
     * @return true if the object is valid after certain rules
     */
    boolean validate(T target);

}
